using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace SharepointWorkflowStarter
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

#if !DEBUG
            try
            {
#endif

            Application.Run(new formMain());
        }
#if !DEBUG
            catch (Exception ex)
            {
               MessageBox.Show("A fatal exception occured: " + ex.Message + "\r\n" + ex.Source + "\r\n" + ex.StackTrace, "Exception", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
#endif
    }
}